var runtime.physHugePageSize
16 uses
runtime (current package)
malloc.go#L371: physHugePageSize uintptr
malloc.go#L403: if physHugePageSize&(physHugePageSize-1) != 0 {
malloc.go#L404: print("system huge page size (", physHugePageSize, ") must be a power of 2\n")
malloc.go#L407: if physHugePageSize > maxPhysHugePageSize {
malloc.go#L412: physHugePageSize = 0
malloc.go#L414: if physHugePageSize != 0 {
malloc.go#L417: for 1<<physHugePageShift != physHugePageSize {
mem_linux.go#L98: if physHugePageSize != 0 {
mem_linux.go#L100: beg := alignUp(uintptr(v), physHugePageSize)
mem_linux.go#L102: end := alignDown(uintptr(v)+n, physHugePageSize)
mem_linux.go#L125: if physHugePageSize == 0 {
mgcscavenge.go#L971: if physHugePageSize > pageSize && physHugePageSize > physPageSize {
mgcscavenge.go#L978: pagesPerHugePage := uintptr(physHugePageSize / pageSize)
os_linux.go#L348: physHugePageSize = getHugePageSize()
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |